package com.eoner.baselibrary.bean.firstpager;

import java.util.List;

/**
 * 作者：sean
 * 创建时间：2017/6/16 13:44
 * 功能说明：新品特惠头bean
 */

public class NewGoodDiscountBean {

    /**
     * code : 0
     * msg : success
     * data : {"sh_ads":[{"sh_image":"http://img1.shihanbainian.com/shihan2.0/index/banner_shouye.png","sh_target":"category","sh_target_id":13},{"sh_image":"http://img1.shihanbainian.com/shihan2.0/index/banner_shouye.png","sh_target":"collocation_class","sh_target_id":1}],"sh_types":[{"sh_id":3,"sh_name":"活动一"},{"sh_id":2,"sh_name":"测试活动二"}]}
     * args : {"cart_num":0,"is_vip":0}
     */

    private String code;
    private String msg;
    private DataBean data;
    private ArgsBean args;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public ArgsBean getArgs() {
        return args;
    }

    public void setArgs(ArgsBean args) {
        this.args = args;
    }

    public static class DataBean {
        private List<ShAdsBean> sh_ads;
        private List<ShTypesBean> sh_types;

        public List<ShAdsBean> getSh_ads() {
            return sh_ads;
        }

        public void setSh_ads(List<ShAdsBean> sh_ads) {
            this.sh_ads = sh_ads;
        }

        public List<ShTypesBean> getSh_types() {
            return sh_types;
        }

        public void setSh_types(List<ShTypesBean> sh_types) {
            this.sh_types = sh_types;
        }

        public static class ShAdsBean {
            /**
             * sh_image : http://img1.shihanbainian.com/shihan2.0/index/banner_shouye.png
             * sh_target : category
             * sh_target_id : 13
             */

            private String sh_image;
            private String sh_target;
            private String sh_target_id;

            public String getSh_image() {
                return sh_image;
            }

            public void setSh_image(String sh_image) {
                this.sh_image = sh_image;
            }

            public String getSh_target() {
                return sh_target;
            }

            public void setSh_target(String sh_target) {
                this.sh_target = sh_target;
            }

            public String getSh_target_id() {
                return sh_target_id;
            }

            public void setSh_target_id(String sh_target_id) {
                this.sh_target_id = sh_target_id;
            }
        }

        public static class ShTypesBean {
            /**
             * sh_id : 3
             * sh_name : 活动一
             */

            private String sh_id;
            private String sh_name;

            public String getSh_id() {
                return sh_id;
            }

            public void setSh_id(String sh_id) {
                this.sh_id = sh_id;
            }

            public String getSh_name() {
                return sh_name;
            }

            public void setSh_name(String sh_name) {
                this.sh_name = sh_name;
            }
        }
    }

    public static class ArgsBean {
        /**
         * cart_num : 0
         * is_vip : 0
         */

        private String cart_num;
        private String is_vip;

        public String getCart_num() {
            return cart_num;
        }

        public void setCart_num(String cart_num) {
            this.cart_num = cart_num;
        }

        public String getIs_vip() {
            return is_vip;
        }

        public void setIs_vip(String is_vip) {
            this.is_vip = is_vip;
        }
    }
}
